package com.wisnews.service.sys.Impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wisnews.mapper.sys.VisitLogMapper;
import com.wisnews.pojo.sys.entity.VisitLog;
import com.wisnews.service.sys.IVisitLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yuyd
 * @since 2021-02-08
 */
@Service
public class VisitLogServiceImpl extends ServiceImpl<VisitLogMapper, VisitLog> implements IVisitLogService {

    @Autowired
    private VisitLogMapper visitLogMapper;

    @Override
    public IPage<VisitLog> qureyList(IPage iPage) {
        Wrapper<VisitLog> wrapper = Wrappers.lambdaQuery();
        return visitLogMapper.qureyList(wrapper, iPage);
    }
}
